package com.gilight.base.dto.goods;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.List;

/**
 * Created by rize on 2019/7/11.
 */
@Data
public class SpuTreeNodeDTO {

    private String value;

    private String label;

    @JsonSerialize(using= ToStringSerializer.class)
    private Long id;

    private List<SpuTreeNodeDTO> children;

}
